
class Data
{
    public int year;
    public int month;
    public int day;


    public void setDay(int year,int month,int day) {
        this.year = year;
        this.month = month;
        this.day = day;
    }

    public  void show()
    {
        System.out.println(year+":"+month+":"+day);
    }
}
public class Test1 {
    public static void main(String[] args) {
        Data data1=new Data();
        Data data2=new Data();
        Data data3=new Data();

        data1.setDay(2022,10,10);
        data2.setDay(2023,2,3);
        data3.setDay(2023,4,9);


        data1.show();
        data2.show();
        data3.show();
    }


}
